package com.woniu.order.service;

import com.alipay.api.AlipayApiException;
import com.woniu.order.Param.ApplyParam;
import com.woniu.order.dto.RefundDto;
import com.woniu.order.model.Refund;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface RefundService extends IService<Refund> {

    void apply(ApplyParam param);

    List<RefundDto> loadAllRefund(Integer refundState);

    List<Refund> selctRefund();

    void sendRefundQueue(String orderNum) throws AlipayApiException;

    void rejectRefund(Integer refundId);
}
